/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.Creational.prototype.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.DesignPatterns.Creational.prototype.Dog;

import za.ac.cput.DesignPatterns.Creational.prototype.Person;

/**
 *
 * @author Nashief
 */ 
@Configurable
public class PrototypeConf {
    @Bean
    public Dog d(){
    return new Dog();
    } 
    @Bean 
    public Person p(){
    return new Person();
    }
    
}
